import Vue from 'vue'
import App from './App.vue'
import './styles/index.css'
// import './assets/font/iconfont.css'
import router from './router'
// 引入vant组件库和样式
import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

Vue.config.productionTip = false

// 开发环境下引入mock数据
if (process.env.NODE_ENV === 'development') {
  require('./mock') // 只在开发环境启用Mock
}

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
